package com.isias.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.isias.model.system.SysPost;
import com.isias.model.vo.SysPostQueryVo;

import java.util.List;
import java.util.Map;


public interface SysPostService extends IService<SysPost> {

    IPage<SysPost> selectPage(Page<SysPost> sysPostPage, SysPostQueryVo sysPostQueryVo);

    boolean changeStatus(String id, Integer status);

    List<SysPost> GetAll();

    Map<String, Object> getRolesByUserId(String userId);
}
